<template>
  <div class="components-wrap">
    <img :src="mpImgs.empty" mode="widthFix">
    <div class="text">{{ text }}</div>
  </div>
</template>

<script>
export default {
  props: {
    text: {
      type: String,
      default: '暂无内容~',
    },
  },
  computed: {
    mpImgs () {
      return this.$store.state.mpImgs
    },
  },

}
</script>

<style lang="scss" scoped> @import "~css/var.scss";
.components-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 124px;
  padding-bottom: 124px;
  background: #f4f2f3;
  img {
    width: 144px;
    height: 123px;
  }
  .text {
    margin-top: 10px;
    font-size: $fz-m;
    color: #999999;
  }
}
</style>
